Skip to content

Conversation

@Dosakaya
Copy link
Contributor

@Dosakaya Dosakaya commented Sep 4, 2025

dsSetStandbyVideoState
dsGetStandbyVideoState

dsSetStandbyVideoState
dsGetStandbyVideoState
dsSetAvPortState
dsSetLEDStatus
dsSetRebootConfig
@Dosakaya Dosakaya requested a review from a team as a code owner September 4, 2025 18:39
@Dosakaya Dosakaya requested a review from a team September 4, 2025 18:39

bool VideoOutputPort::SetStandbyVideoState(const string port , const bool enable)
{
dsError_t ret = dsSetStandbyVideoState(port, enable);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

better to propagate dsError_t, applicable to other APIs too..

ds/hdmiIn.cpp Outdated
printf ("%s:%d - HDMI Compatibility Version = %d\n", __PRETTY_FUNCTION__, __LINE__, *capversion);
}

void HdmiInput::getHDMIARCPortId(int *portId)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

better to propagate dsError_t

@skamath skamath requested a review from Copilot September 9, 2025 07:24
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds new API definitions for managing standby video state and HDMI ARC port functionality. The changes implement functions to get and set standby video states for video ports, along with a new function to retrieve HDMI ARC port IDs.

  • Implements dsSetStandbyVideoState and dsGetStandbyVideoState functions for managing video port standby states
  • Adds corresponding C++ wrapper methods in VideoOutputPort class
  • Introduces getHDMIARCPortId function in HdmiInput class for retrieving ARC port information

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
rpc/cli/dsVideoPort.c Implements core C functions for setting and getting standby video state
ds/videoOutputPort.cpp Adds C++ wrapper methods for standby video state management
ds/include/videoOutputPort.hpp Declares new standby video state methods in header
ds/include/hdmiIn.hpp Declares new HDMI ARC port ID getter method
ds/hdmiIn.cpp Implements HDMI ARC port ID retrieval function

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

An error occurred while trying to automatically change base from feature/RDKEMW-6120-B1 to develop September 9, 2025 18:08
An error occurred while trying to automatically change base from feature/RDKEMW-6120-B1 to develop September 9, 2025 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants